import service from '../../../http';
import { RetVO } from '../../../http/public.type.ts';
import { ArticleDetail } from '../index.ts';

export function _getArticleDetail(
  id: string,
  password?: string
): Promise<RetVO<ArticleDetail>> {
  return service.post('/api/v1.0/article/detail', { id, password });
}
